package org.sgx.gwtsjcl.client;

import com.google.gwt.core.client.JavaScriptObject;
/**
 * Hexadecimal 
 * @author sg
 *
 */
public class CodecHex extends JavaScriptObject{
protected CodecHex(){}
/**
 * Convert from a bitArray to a hex string. 
 * 
 * @param arr
 * @return
 */
public native final String fromBits(BitArrayType arr)/*-{
	return this.fromBits(arr);
}-*/;

/**
 * Convert from a hex string to a bitArray. 
 * @param str
 * @return
 */
public native final BitArrayType toBits(String str)/*-{
	return this.toBits(str);
}-*/;
}
